class TestSearchBean {
  String placeholder;
  String type;
  String dimKey;
  List<ListDataListBean> listData;

  TestSearchBean({this.placeholder, this.type, this.dimKey, this.listData});

  TestSearchBean.fromJson(Map<String, dynamic> json) {    
    this.placeholder = json['placeholder'];
    this.type = json['type'];
    this.dimKey = json['dimKey'];
    this.listData = (json['listData'] as List)!=null?(json['listData'] as List).map((i) => ListDataListBean.fromJson(i)).toList():null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['placeholder'] = this.placeholder;
    data['type'] = this.type;
    data['dimKey'] = this.dimKey;
    data['listData'] = this.listData != null?this.listData.map((i) => i.toJson()).toList():null;
    return data;
  }

}

class ListDataListBean {
  String title;
  String jumpType;
  String route;
  String searchKey;

  ListDataListBean({this.title, this.jumpType, this.route, this.searchKey});

  ListDataListBean.fromJson(Map<String, dynamic> json) {    
    this.title = json['title'];
    this.jumpType = json['jumpType'];
    this.route = json['route'];
    this.searchKey = json['searchKey'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['jumpType'] = this.jumpType;
    data['route'] = this.route;
    data['searchKey'] = this.searchKey;
    return data;
  }
}
